
import 'package:p_location/map/res/map_elements_info.dart';

class MapElementsRes {
    MapElementsInfo data;
    int code;

    MapElementsRes({this.data, this.code});

    factory MapElementsRes.fromJson(Map<String, dynamic> json) {
        return MapElementsRes(
            data: json['data'] != null ? MapElementsInfo.fromJson(json['data']) : null,
            code: json['code'], 
        );
    }

}